﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="tasks.aspx.cs" Inherits="btnet.pages.tasks" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title id="titl" runat="server">btnet tasks</title>

<link rel="StyleSheet" href="btnet.css" type="text/css">
<link rel="StyleSheet" href="jquery/ui.datepicker.css" type="text/css">

<script type="text/javascript" language="JavaScript" src="sortable.js"></script>


<script>

function body_on_load()
{
	parent.set_task_cnt(<% Response.Write(Convert.ToString(ds.Tables[0].Rows.Count)); %>)
}

</script>

</head>
<body onload="body_on_load()">


<div class=align>

Tasks for 
<% 
    Response.Write(SingularBugLabel	+ " " + Convert.ToString(bugid)); 
%>
<p>

<% if (permission_level == Security.PERMISSION_ALL && (security.user.is_admin || security.user.can_edit_tasks)) { %>
<a href=edit_task.aspx?id=0&bugid=<% Response.Write(Convert.ToString(bugid)); %>>add new task</a>
<p>
<% } %>

<%
    displaylist();

%>
</div>
<% Response.Write(Application["custom_footer"]); %>
</body>
</html>
